/*
 * @Author: your name
 * @Date: 2020-09-24 11:43:58
 * @LastEditTime: 2020-09-25 13:44:44
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \im.xuanma.cnd:\study\study2\vue-admin-template\src\api\background.js
 */
import request from '@/utils/request'

// 后台用户列表
export function get_list(data) {
    return request({
        url: '/users/list',
        method: 'get',
        params: data
    })
}
// 后台用户列表-添加
export function get_list_add(data) {
    return request({
        url: '/users/user_add',
        method: 'post',
        data
    })
}
// 后台用户列表-修改
export function get_list_edit(data) {
    return request({
        url: '/users/user_edit',
        method: 'post',
        data
    })
}
// 后台用户列表-删除
export function get_list_del(data) {
    return request({
        url: '/users/user_del',
        method: 'post',
        data
    })
}
